﻿using System;
using Ninject;
using Sportsbook.Domain.Repositories;
using Sportsbook.Updater.Modules;
using Sportsbook.Updater.Updaters;

namespace Sportsbook.Updater
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            var kernel = new StandardKernel(new LinesModule());

            var linesUpdater = new LinesUpdater( kernel.Get<ILinesRepository>());
            linesUpdater.Start();

            Console.Read(); 
        }
    }
}